﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Class1
    {
        public int Shu(int a, int b)
        {
            return a + b;
        }
        public double Shu(double a, double b)
        {
            return a + b;
        }
        public string Shu(string a, string b)
        {
            return a + b;
        }
        public int Shu(int num)
        {
            int sum = 0;
            for (int i = 1; i <=num; i++)
            {
                sum = sum + i;
            }
            return sum;
        }
    }
}
